package ua.yandex.skipass;

import java.util.Calendar;

public class WeekdayPassFactory implements PassFactory {
    private WeekdayDayType dayType;
    private Calendar releaseDate;

    WeekdayPassFactory(WeekdayDayType dayType, Calendar releaseDate) {
        this.dayType = dayType;
        this.releaseDate = releaseDate;
    }


    @Override
    public SkiPass generateSkiPass() {
        return new WeekdayPass(dayType, releaseDate);
    }
}
